<fieldset>
    <legend>Add a table</legend>
    <form action="/admin/addTable" method="post">
        <input type="text" id="name" name="name" value="" />
        <input type="submit" value="Ok" />
    </form>
</fieldset>

<fieldset>
    <legend>Add a menu</legend>
    <form action="/admin/addMenu" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                <td>Name </td>
                <td><input type="text" id="name" name="name" value="" /></td>
            </tr>
            <tr>
                <td>Price </td>
                <td><input type="text" id="price" name="price" value="" /></td>
            </tr>
            <tr>
                <td>Code</td>
                <td><input type="text" id="code" name="code" value="" maxlength="3"/></td>
            </tr>
            <tr>
                <td>Image</td>
                <td><input type="file" id="image" name="files" value="" /></td>
            </tr>
            <tr> 
                <td>Type</td>
                <td>
                    <ul>
                        <li><input type="radio" name="type" value="1" checked="checked"/><?php print imghtml('food.png') ?> Food</li>
                        <li><input type="radio" name="type" value="2"/><?php print imghtml('drink.png') ?>Drink</li>
                    </ul>
                </td>
            </tr>            
            <tr>            
                <td></td>
                <td><input type="submit" value="Ok" /></td>
            </tr>
        </table>
    </form>
</fieldset>